﻿using Abp.Domain.Entities.Auditing;
using KDS.Mes.Mes.Factorys;
using KDS.Mes.Mes.LineAlcCodes;
using KDS.Mes.Mes.ProductModes;
using KDS.Mes.Mes.Workshops;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KDS.Mes.Mes.StopEquipments
{
    /// <summary>
    /// andenf信息
    /// </summary>
    [Table("T_Stop_Equipment")]
    public class StopEquipment : FullAuditedEntity
    {
        /// <summary>
        /// 停机时间
        /// </summary>
        [Required]
   
        public DateTime StopDate { get; set; }

        /// <summary>
        /// 班次
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string Shift { get; set; }

        /// <summary>
        /// 线体
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string Line { get; set; }

        [Required]
        [MaxLength(20)]
        public string Starttime { get; set; }
        [Required]
        [MaxLength(20)]
        public string EndTime { get; set; }
        [Required]
        [MaxLength(20)]
        public string StopTime { get; set; }

        [Required]
        [MaxLength(20)]
        public string OffLineCount { get; set; }

       
        [MaxLength(20)]
        public string CarType { get; set; }

        
        [MaxLength(20)]
        public string StopReason { get; set; }

        [MaxLength(20)]
        public string Assemesy { get; set; }

        [MaxLength(20)]
        public string ResponsibleDepartment { get; set; }


    }
}
